export function setItem(value) {
  localStorage.setItem("sgbItem", JSON.stringify(value));
}
export function getItem() {
  return localStorage.getItem("sgbItem");
}

export function setErrorItem(value) {
  localStorage.setItem("errorGgbItem", JSON.stringify(value));
}
export function getErrorItem() {
  return localStorage.getItem("errorGgbItem");
}

/**
 * 移除当前App所有的本地存储
 */
export function removeAllItems() {
  localStorage.removeItem("sgbItem");
}
